


<div>


<div id="InputForm">

</div>

<br/>
<br/>
<br/>
<div>
	<?php
		
		echo form_open('admin/admin/savePriceClassInfo');
		echo '<input type="hidden" name="txtClassID" value="'. $prices[0]['PrisklassID'] .'"/>';	
		
		echo "<b>Prisklassens namn: <br/></b>" . form_input(array('id'=>'priceClassName','name'=>'priceClassName', 'value'=>$prices[0]['Namn']));
		echo "<br/>";
		echo "<b>Förklaring: </b><br/>"  .form_textarea(array('id'=>'info','name'=>'info', 'rows'=> '3', 'value'=>$prices[0]['Forklaring']));
		echo "<br/>";
		echo form_submit(array('id'=>'change'),'Spara ny info');
		echo form_Close();
		echo "<br/>";
		echo "<br/>";
	?>

</div>

<?php	
	
	foreach($prices as $row)
	{
		echo "<li>";
				 echo form_open('admin/admin/carprices');
				 
				 
				 
				 echo '<input type="hidden" name="txtID" value="'. $row['BilID'] .'"/>';
				 echo '<input type="hidden" name="txtClassID" value="'. $row['PrisklassID'] .'"/>';
				 
				 echo '<div id="bookings" align="center"  style="height:90px; width:500px; border-style:solid" >';
				 echo "<b>Modell:  </b>";	
				 echo $row['Modell'];
			 	 echo "  ";
				 
				 echo "<b>Info:  </b>";	
				 echo $row['Info'];
			 	 echo "  ";
				 
				 echo "<b>Vecko pris:  </b>";	
				 echo $row['VeckoPris'];
			 	 echo "  ";
				 
				 echo "<b>Dag pris:  </b>";	
				 echo $row['DagPris'];
			 	 echo "  ";
				 
				 echo "<b>Timm pris:  </b>";	
				 echo $row['TimmarPris'];
			 	 echo "  ";
				 
				 echo "  <br/>";	
				
				 echo form_submit(array('id'=>'change'),'Ändra/se priserna per bil');
				 
				 echo form_Close();
			 	 echo "  <br/>";	
		echo "</li>";
	}

?>





</div>